<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Welcome to <?php echo WEBSITE_NAME.' - '.WEBSITE_PHASE; ?> :: <?php echo (isset($this->page_title) && !empty($this->page_title)) ? $this->page_title : 'Online Exam' ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link type="text/css" rel="stylesheet" href="<?php echo base_url(); ?>/css/main.css" />
<script type="text/javascript" language="javascript" src="<?php echo base_url(); ?>/js/jquery.min.js"></script>
<script type="text/javascript" language="javascript" src="<?php echo base_url(); ?>/js/jquery-ui.min.js"></script>
<script type="text/javascript" language="javascript" src="<?php echo base_url(); ?>/js/main.js"></script>
</head>
<body>
<?php $login_name =  get_login_name(); ?>
<h1>Welcome to <?php echo WEBSITE_NAME.' - '.WEBSITE_PHASE; ?>!</h1>
<div id="login_name" align="right">Welcome, <span><?php echo $login_name; ?><?php if($login_name != 'guest') { ?></span>&nbsp;|&nbsp;<a href="<?php echo site_url('logout'); ?>" title="Logout">Logout</a><?php } ?></div>
<?php $this->load->view('messages'); ?>
<br />